﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace com.ksd.Test
{
    internal class ConcreateBuilder : Builder
    {
        computer Computer = new computer();
        public override void BuildPartCPU()
        {
            Computer.Add("CPU01");
        }

        public override void BuildPartMainBoard()
        {
            Computer.Add("MainBoard01");
        }

        public override computer GetComputer()
        {
            return Computer;
        }
    }
}
